projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793fd71
)
(x-win-suspend-error): Don't signal error if there are no X frames
author
Chong Yidong
<cyd@stupidchicken.com>
Thu, 28 Aug 2008 21:16:05 +0000
(21:16 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Thu, 28 Aug 2008 21:16:05 +0000
(21:16 +0000)
active.
lisp/term/x-win.el
patch
|
blob
|
history
diff --git
a/lisp/term/x-win.el
b/lisp/term/x-win.el
index a8813aeb91760b6774aa6ee77fd5a4778fb712c2..2770fad84e641bb83e7783d9fe86e9d2297e0932 100644
(file)
--- a/
lisp/term/x-win.el
+++ b/
lisp/term/x-win.el
@@
-1441,7
+1441,9
@@
The value nil is the same as this list:
;;; Window system initialization.
(defun x-win-suspend-error ()
- (error "Suspending an Emacs running under X makes no sense"))
+ ;; Don't allow suspending if any of the frames are X frames.
+ (if (memq 'x (mapcar 'window-system (frame-list)))
+ (error "Cannot suspend Emacs while running under X")))
(defvar x-initialized nil
"Non-nil if the X window system has been initialized.")